package com.zhaotianhao.utils;


import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;

public class SnowUtil {

    public static  Long getSonwId(){
       //  可能重复
       Snowflake snowflake = IdUtil.getSnowflake(31, 31);
        Long id = snowflake.nextId();
        return  id;
    }
}
